package entity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * Card entity. @author MyEclipse Persistence Tools
 */

public class Card implements java.io.Serializable {

	// Fields
	private Integer id;
	private String name;
	private Integer deptid;
	private Integer positionid;
	private String telephone;
	private String phone;
	private BigDecimal count;
	private String remark;
	private Date ordertime;
	private Integer userid;
	private Integer createid;
	private Integer deptmanagerid;
	private Integer status;

	// Constructors

	/** default constructor */
	public Card() {
	}

	/** minimal constructor */
	public Card(Integer id) {
		this.id = id;
	}

	/** full constructor */
	public Card(Integer id, String name, Integer deptid, Integer positionid,
			String telephone, String phone, BigDecimal count, String remark,
			Date ordertime, Integer userid, Integer createid,
			Integer deptmanagerid, Integer status) {
		this.id = id;
		this.name = name;
		this.deptid = deptid;
		this.positionid = positionid;
		this.telephone = telephone;
		this.phone = phone;
		this.count = count;
		this.remark = remark;
		this.ordertime = ordertime;
		this.userid = userid;
		this.createid = createid;
		this.deptmanagerid = deptmanagerid;
		this.status = status;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getDeptid() {
		return this.deptid;
	}

	public void setDeptid(Integer deptid) {
		this.deptid = deptid;
	}

	public Integer getPositionid() {
		return this.positionid;
	}

	public void setPositionid(Integer positionid) {
		this.positionid = positionid;
	}

	public String getTelephone() {
		return this.telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public BigDecimal getCount() {
		return this.count;
	}

	public void setCount(BigDecimal count) {
		this.count = count;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Date getOrdertime() {
		return this.ordertime;
	}

	public void setOrdertime(Date ordertime) {
		this.ordertime = ordertime;
	}

	public Integer getUserid() {
		return this.userid;
	}

	public void setUserid(Integer userid) {
		this.userid = userid;
	}

	public Integer getCreateid() {
		return this.createid;
	}

	public void setCreateid(Integer createid) {
		this.createid = createid;
	}

	public Integer getDeptmanagerid() {
		return this.deptmanagerid;
	}

	public void setDeptmanagerid(Integer deptmanagerid) {
		this.deptmanagerid = deptmanagerid;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

}